def t1():
  pass
  DMA1.ActivateReportLayout("Agent Layout")
  time.sleep(5)
  DMA1.DeactivateReportLayout("Agent Layout")

def t2():
  
  DMA1.ActivateReportLayout("Agent Layout")
  time.sleep(5)
  DMA1.DeactivateReportLayout("Agent Layout")
  ScsDataSourcer1.Stop()
  ScsDataSourcer1.Start()
  DMA1.ActivateReportLayout("Agent Layout")
  time.sleep(5)
  DMA1.DeactivateReportLayout("Agent Layout")
  ScsLocalTserver.Stop()
  ScsLocalTserver.Start()
